package cn.lopr.im.api.service;

import cn.lopr.im.api.bean.User;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author shuangyang7
 * @date 2021/5/19 22:15
 */
@Transactional
public interface IAuthService {
    boolean refreshToken(String token) throws Exception;

    User getInfoByToken(String token);

    String addCache(User res);
}
